home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / os2 / tinyed20.zip / T.DOC < prev    next >
Text File  |  1992-08-05  |  93KB  |  3,026 lines

  1.  
  2.  
  3.                                                                 TDoc-v200-0
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.         ===================================================================
  35.         T
  36.         A Tiny Editor
  37.         By Tim Baldwin
  38.         Version 2.00
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.         (C) Copyright IBM Corporation 1987, 1992
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         (C) Copyright IBM Corporation 1987, 1992
  68.         
  69.         
  70.         
  71.         PREFACE
  72.  
  73.         This document describes T - a very small yet very powerful full
  74.         screen text editor for IBM PC, PS/2 and compatible machines.  The
  75.         document is divided into two main parts: "Part 1.  Using The
  76.         Editor" and "Part 2.  Editor Reference".
  77.  
  78.         Part 1 is a user's guide containing these sections:
  79.  
  80.         -  "1.0 Introduction".  This describes T, giving an overview of its
  81.            main features and omissions.  It also details the hardware and
  82.            software you will need to be able to use the editor and how you
  83.            can obtain a copy.
  84.  
  85.         -  "2.0 Getting Started".  This describes how to install T ready
  86.            for use.  It describes how to start up the editor, what the
  87.            screen looks like and how to use the help files.
  88.  
  89.         -  "3.0 Editing".  Contains a brief introduction to editing with
  90.            T describing how to issue commands and functions and the basics
  91.            of editing.  This section also covers searching and replacing,
  92.            the word processing features, the box drawing functions and
  93.            describes how to print documents when using the editor.
  94.  
  95.         -  "4.0 Customising".  Describes how the editor can be customised
  96.            to change the screen colours, to redefine the keyboard functions
  97.            and to alter some other special editor settings.  This section
  98.            also shows how to customise the help files supplied with
  99.            T.
  100.  
  101.         Part 2 is the reference manual, divided into three sections:
  102.  
  103.         -  "1.0 Commands".  An alphabetical list of all the editor's
  104.            commands.
  105.  
  106.         -  "2.0 Keyboard Functions".  An alphabetical list of all the
  107.            editor's keyboard functions.
  108.  
  109.         -  "3.0 Settings".  An alphabetical list of all the editor's
  110.            special settings.
  111.  
  112.         Two appendices are also included:
  113.  
  114.         -  "Appendix A.  Messages".  Lists all the messages T can produce,
  115.            giving the meaning of the message and any possible action that
  116.            may need to be taken.
  117.  
  118.         -  "Appendix B.  User Definable Keys".  Lists all the valid names
  119.            and shift- combinations for the user-definable keys.
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.         
  128.                                                                  Preface  i
  129.  
  130.         (C) Copyright IBM Corporation 1987, 1992
  131.         
  132.         
  133.         
  134.         CONTENTS
  135.  
  136.  
  137.           Part 1.  Using The Editor   . . . . . . . . . . . . . . . . . . 1
  138.  
  139.           1.0 Introduction  . . . . . . . . . . . . . . . . . . . . . . . 2
  140.           1.1 Features and Omissions  . . . . . . . . . . . . . . . . . . 2
  141.           1.2 What You Need   . . . . . . . . . . . . . . . . . . . . . . 3
  142.  
  143.           2.0 Getting Started   . . . . . . . . . . . . . . . . . . . . . 4
  144.           2.1 Starting T  . . . . . . . . . . . . . . . . . . . . . . . . 4
  145.           2.2 Screen Layout   . . . . . . . . . . . . . . . . . . . . . . 4
  146.           2.3 The Help File   . . . . . . . . . . . . . . . . . . . . . . 5
  147.  
  148.           3.0 Editing   . . . . . . . . . . . . . . . . . . . . . . . . . 6
  149.           3.1 Simple Editing  . . . . . . . . . . . . . . . . . . . . . . 6
  150.             3.1.1 The Command Line  . . . . . . . . . . . . . . . . . . . 6
  151.             3.1.2 The Data Area   . . . . . . . . . . . . . . . . . . . . 6
  152.             3.1.3 Marking and Copying Lines   . . . . . . . . . . . . . . 7
  153.             3.1.4 Saving Documents  . . . . . . . . . . . . . . . . . . . 7
  154.             3.1.5 Working On Several Documents  . . . . . . . . . . . . . 7
  155.           3.2 Search and Replace  . . . . . . . . . . . . . . . . . . . . 8
  156.             3.2.1 Searching   . . . . . . . . . . . . . . . . . . . . . . 8
  157.             3.2.2 Replacing   . . . . . . . . . . . . . . . . . . . . . . 8
  158.           3.3 Word Processing   . . . . . . . . . . . . . . . . . . . . . 9
  159.             3.3.1 The Right Margin and Word Spill   . . . . . . . . . . . 9
  160.             3.3.2 The ADJUST LINE Function  . . . . . . . . . . . . . . . 9
  161.           3.4 Drawing Boxes  . . . . . . . . . . . . . . . . . . . . . . 10
  162.           3.5 Printing   . . . . . . . . . . . . . . . . . . . . . . . . 10
  163.             3.5.1 Printer Control Codes  . . . . . . . . . . . . . . . . 11
  164.             3.5.2 Printer Set Up   . . . . . . . . . . . . . . . . . . . 11
  165.  
  166.           4.0 Customising  . . . . . . . . . . . . . . . . . . . . . . . 12
  167.           4.1 The Custom Definition File   . . . . . . . . . . . . . . . 12
  168.             4.1.1 Colour Commands  . . . . . . . . . . . . . . . . . . . 13
  169.             4.1.2 Key Commands   . . . . . . . . . . . . . . . . . . . . 14
  170.             4.1.3 Set Commands   . . . . . . . . . . . . . . . . . . . . 16
  171.           4.2 The HELP and USER Functions  . . . . . . . . . . . . . . . 16
  172.           4.3 The Enhanced Keyboard  . . . . . . . . . . . . . . . . . . 17
  173.  
  174.           Part 2.  Editor Reference  . . . . . . . . . . . . . . . . . . 18
  175.  
  176.           1.0 Commands   . . . . . . . . . . . . . . . . . . . . . . . . 19
  177.           1.1 APPEND   . . . . . . . . . . . . . . . . . . . . . . . . . 19
  178.           1.2 CHANGE   . . . . . . . . . . . . . . . . . . . . . . . . . 19
  179.           1.3 DOS  . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  180.           1.4 EDIT   . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  181.           1.5 FILE   . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  182.           1.6 GET  . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  183.           1.7 GOTO   . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  184.           1.8 LOCATE   . . . . . . . . . . . . . . . . . . . . . . . . . 21
  185.           1.9 MARGIN   . . . . . . . . . . . . . . . . . . . . . . . . . 21
  186.           1.10 NAME  . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  187.           1.11 PRINT   . . . . . . . . . . . . . . . . . . . . . . . . . 22
  188.           1.12 PUT   . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  189.  
  190.         
  191.                                                                Contents  ii
  192.  
  193.         (C) Copyright IBM Corporation 1987, 1992
  194.         
  195.         
  196.         
  197.           1.13 QUIT  . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  198.           1.14 SAVE  . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  199.           1.15 VERSION   . . . . . . . . . . . . . . . . . . . . . . . . 23
  200.  
  201.           2.0 Keyboard Functions   . . . . . . . . . . . . . . . . . . . 24
  202.           2.1 ADJUST LINE  . . . . . . . . . . . . . . . . . . . . . . . 24
  203.           2.2 BACKSPACE  . . . . . . . . . . . . . . . . . . . . . . . . 24
  204.           2.3 BACKTAB  . . . . . . . . . . . . . . . . . . . . . . . . . 24
  205.           2.4 BOTTOM OF FILE   . . . . . . . . . . . . . . . . . . . . . 24
  206.           2.5 BOTTOM OF MARK   . . . . . . . . . . . . . . . . . . . . . 25
  207.           2.6 BOTTOM OF SCREEN   . . . . . . . . . . . . . . . . . . . . 25
  208.           2.7 CLEAR MARK   . . . . . . . . . . . . . . . . . . . . . . . 25
  209.           2.8 COMMAND TOGGLE   . . . . . . . . . . . . . . . . . . . . . 25
  210.           2.9 COPY MARK  . . . . . . . . . . . . . . . . . . . . . . . . 25
  211.           2.10 DELETE CHARACTER  . . . . . . . . . . . . . . . . . . . . 25
  212.           2.11 DELETE LINE   . . . . . . . . . . . . . . . . . . . . . . 25
  213.           2.12 DELETE MARK   . . . . . . . . . . . . . . . . . . . . . . 26
  214.           2.13 DOWN  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  215.           2.14 EDIT  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  216.           2.15 END OF LINE   . . . . . . . . . . . . . . . . . . . . . . 26
  217.           2.16 ESCAPE  . . . . . . . . . . . . . . . . . . . . . . . . . 26
  218.           2.17 FILE  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  219.           2.18 HELP  . . . . . . . . . . . . . . . . . . . . . . . . . . 27
  220.           2.19 INSERT LINE   . . . . . . . . . . . . . . . . . . . . . . 27
  221.           2.20 INSERT TOGGLE   . . . . . . . . . . . . . . . . . . . . . 27
  222.           2.21 JOIN LINE   . . . . . . . . . . . . . . . . . . . . . . . 27
  223.           2.22 LEFT  . . . . . . . . . . . . . . . . . . . . . . . . . . 27
  224.           2.23 MARK LEFT   . . . . . . . . . . . . . . . . . . . . . . . 27
  225.           2.24 MARK LINE   . . . . . . . . . . . . . . . . . . . . . . . 28
  226.           2.25 MARK RIGHT  . . . . . . . . . . . . . . . . . . . . . . . 28
  227.           2.26 MOVE MARK   . . . . . . . . . . . . . . . . . . . . . . . 28
  228.           2.27 NAME  . . . . . . . . . . . . . . . . . . . . . . . . . . 28
  229.           2.28 NEW LINE  . . . . . . . . . . . . . . . . . . . . . . . . 28
  230.           2.29 NEXT FILE   . . . . . . . . . . . . . . . . . . . . . . . 29
  231.           2.30 NEXT LINE   . . . . . . . . . . . . . . . . . . . . . . . 29
  232.           2.31 NEXT WORD   . . . . . . . . . . . . . . . . . . . . . . . 29
  233.           2.32 NOTHING   . . . . . . . . . . . . . . . . . . . . . . . . 29
  234.           2.33 PAGE DOWN   . . . . . . . . . . . . . . . . . . . . . . . 29
  235.           2.34 PAGE UP   . . . . . . . . . . . . . . . . . . . . . . . . 29
  236.           2.35 PREVIOUS FILE   . . . . . . . . . . . . . . . . . . . . . 29
  237.           2.36 PREVIOUS WORD   . . . . . . . . . . . . . . . . . . . . . 29
  238.           2.37 QUIT  . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  239.           2.38 REPEAT FIND   . . . . . . . . . . . . . . . . . . . . . . 30
  240.           2.39 REPEAT LINE   . . . . . . . . . . . . . . . . . . . . . . 30
  241.           2.40 RIGHT   . . . . . . . . . . . . . . . . . . . . . . . . . 30
  242.           2.41 SAFE FILE   . . . . . . . . . . . . . . . . . . . . . . . 30
  243.           2.42 SAVE  . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  244.           2.43 SCROLL DOWN   . . . . . . . . . . . . . . . . . . . . . . 30
  245.           2.44 SCROLL LEFT   . . . . . . . . . . . . . . . . . . . . . . 31
  246.           2.45 SCROLL RIGHT  . . . . . . . . . . . . . . . . . . . . . . 31
  247.           2.46 SCROLL UP   . . . . . . . . . . . . . . . . . . . . . . . 31
  248.           2.47 SPLIT LINE  . . . . . . . . . . . . . . . . . . . . . . . 31
  249.           2.48 START OF LINE   . . . . . . . . . . . . . . . . . . . . . 31
  250.           2.49 TAB   . . . . . . . . . . . . . . . . . . . . . . . . . . 31
  251.           2.50 TOP OF FILE   . . . . . . . . . . . . . . . . . . . . . . 31
  252.  
  253.         
  254.                                                               Contents  iii
  255.  
  256.         (C) Copyright IBM Corporation 1987, 1992
  257.         
  258.         
  259.         
  260.           2.51 TOP OF MARK   . . . . . . . . . . . . . . . . . . . . . . 32
  261.           2.52 TOP OF SCREEN   . . . . . . . . . . . . . . . . . . . . . 32
  262.           2.53 TRUNCATE LINE   . . . . . . . . . . . . . . . . . . . . . 32
  263.           2.54 UNDO  . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  264.           2.55 UP  . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  265.           2.56 USER  . . . . . . . . . . . . . . . . . . . . . . . . . . 32
  266.  
  267.           3.0 Settings   . . . . . . . . . . . . . . . . . . . . . . . . 33
  268.           3.1 AUTOMATIC INDENT   . . . . . . . . . . . . . . . . . . . . 33
  269.           3.2 CGA SNOW   . . . . . . . . . . . . . . . . . . . . . . . . 33
  270.           3.3 COMMAND RECALL   . . . . . . . . . . . . . . . . . . . . . 33
  271.           3.4 COMMAND TOGGLE   . . . . . . . . . . . . . . . . . . . . . 34
  272.           3.5 EXACT MATCH  . . . . . . . . . . . . . . . . . . . . . . . 34
  273.           3.6 FINAL EOF  . . . . . . . . . . . . . . . . . . . . . . . . 34
  274.           3.7 HELP COMMAND   . . . . . . . . . . . . . . . . . . . . . . 34
  275.           3.8 HELP LINE  . . . . . . . . . . . . . . . . . . . . . . . . 35
  276.           3.9 INSERT TOGGLE  . . . . . . . . . . . . . . . . . . . . . . 35
  277.           3.10 KEYBOARD  . . . . . . . . . . . . . . . . . . . . . . . . 35
  278.           3.11 MARGIN  . . . . . . . . . . . . . . . . . . . . . . . . . 35
  279.           3.12 TAB EXPAND  . . . . . . . . . . . . . . . . . . . . . . . 35
  280.           3.13 TAB SPACING   . . . . . . . . . . . . . . . . . . . . . . 36
  281.           3.14 USER COMMAND  . . . . . . . . . . . . . . . . . . . . . . 36
  282.  
  283.           Appendix A.  Messages  . . . . . . . . . . . . . . . . . . . . 37
  284.  
  285.           Appendix B.  User Definable Keys   . . . . . . . . . . . . . . 41
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.         
  317.                                                                Contents  iv
  318.  
  319.         (C) Copyright IBM Corporation 1987, 1992
  320.         
  321.         
  322.         
  323.                                                   Part 1.  Using The Editor
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.         
  380.                                                Part 1.  Using The Editor  1
  381.  
  382.         (C) Copyright IBM Corporation 1987, 1992
  383.         
  384.         
  385.         
  386.         1.0 INTRODUCTION
  387.  
  388.         T is a full screen text editor for the IBM PC, PS/2 and compatible
  389.         family of machines.  It is designed to be quick and easy to learn
  390.         and simple to use, while remaining both extremely powerful and very
  391.         small - to DOS version being under 9K bytes in size.
  392.  
  393.         A very small editor has a number of advantages:
  394.  
  395.         -  It may be used on machines with a limited amount of memory.
  396.            Even a PC with a full 640K of memory can have a large amount of
  397.            this used up when a number of terminate-and-stay-resident type
  398.            programs are installed - local area network drivers and terminal
  399.            emulators are prime examples.
  400.  
  401.         -  It may be used for editing large files, that would be too large
  402.            to load into memory with a bigger editor.
  403.  
  404.         -  It may be invoked from inside other programs yet still have
  405.            enough free memory to edit a good sized file.
  406.  
  407.         -  It loads and starts very quickly indeed.  If you just wish to
  408.            make a small change to your CONFIG.SYS file it can be very
  409.            frustrating to spend time waiting for a large word processor to
  410.            start up.
  411.  
  412.  
  413.  
  414.         1.1 FEATURES AND OMISSIONS
  415.  
  416.         T has the following main features:
  417.  
  418.         -  Very small size, under 9K bytes.
  419.  
  420.         -  Fast, easy to use, full screen interface that adapts
  421.            automatically to use the full size of the display.
  422.  
  423.         -  Can edit very large files, subject to available memory.
  424.  
  425.         -  Can edit any number of files at once, subject to available
  426.            memory.
  427.  
  428.         -  On screen help
  429.  
  430.         -  Very fast search and replace functions.
  431.  
  432.         -  Customisable keyboard and screen colours.
  433.  
  434.         -  Any DOS command may be run without leaving the editor.
  435.  
  436.         -  A "right hand margin" and word-spill to allow some simple word
  437.            processing to be performed.
  438.  
  439.         To keep T small it necessarily lacks some of the more advanced
  440.         features of larger editors.  In particular:
  441.  
  442.         
  443.                                                             Introduction  2
  444.  
  445.         (C) Copyright IBM Corporation 1987, 1992
  446.         
  447.         
  448.         
  449.         -  Copying and moving data can only be performed on blocks of one
  450.            or more whole lines.
  451.  
  452.         -  Lines are limited to 255 characters maximum length.
  453.  
  454.         -  Word processing capabilities are very limited.
  455.  
  456.         -  No programmability, although the appearance and function may be
  457.            customised.
  458.  
  459.  
  460.  
  461.         1.2 WHAT YOU NEED
  462.  
  463.         T should run on any IBM PC, PS/2 or compatible machine.  It needs
  464.         PC-DOS or MS-DOS version 2.00 or later, or any version of OS/2.
  465.         The DOS version may also be run as a DOS application under
  466.         Microsoft Windows.  When used with OS/2 with appropriate versions
  467.         of MS Windows it may be run from both full screen and windowed
  468.         command lines, or may be started by placing an entry in one of the
  469.         OS/2 folders or Windows Program Manager groups.
  470.  
  471.         Note: A very small number of non-IBM machines can give trouble with
  472.         the DOS version of T.  Refer to "4.3 The Enhanced Keyboard" on page
  473.         17 for more details.
  474.  
  475.         T is available from CompuServe and is supplied in a single file
  476.         called TINYED.ZIP.  This .ZIP file should be expanded using PKUNZIP
  477.         in the usual manner and when expanded will give these files:
  478.  
  479.         T.EXE        This is the PC-DOS executable version of the editor.
  480.  
  481.         T2.EXE       This is the OS/2 executable version of the editor.
  482.  
  483.         THELP.HLP    This is a simple help file for the standard editor
  484.                      configuration.
  485.  
  486.         TKEY.EXE     This is the customiser program.  It will run under
  487.                      either PC-DOS or OS/2 and will customise either
  488.                      version of the editor.
  489.  
  490.         TKEYS.DEF    This is a sample custom definition file that describes
  491.                      the standard editor configuration.
  492.  
  493.         T.DOC        This file, the full documentation.
  494.  
  495.         TINYED.ABS   A short introduction to installing and using the
  496.                      editor.
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.         
  506.                                                             Introduction  3
  507.  
  508.         (C) Copyright IBM Corporation 1987, 1992
  509.         
  510.         
  511.         
  512.         2.0 GETTING STARTED
  513.  
  514.         This section describes how to get T up and running, what the screen
  515.         looks like and how to ask for help.
  516.  
  517.  
  518.         2.1 STARTING T
  519.  
  520.         Only the executable file (T.EXE for PC-DOS or T2.EXE for OS/2) is
  521.         required to be able to use the editor; this should be located in
  522.         the current directory of the current drive, or in a subdirectory
  523.         listed in your PATH.  The other files are only required if you want
  524.         to customise the editor or if you want to use the supplied help
  525.         file.  These other files are normally be kept on a separate
  526.         diskette or in their own subdirectory (which need not be in the
  527.         PATH).
  528.  
  529.         If you use OS/2 exclusively or use both DOS and OS/2 but keep DOS
  530.         and OS/2 programs in separate subdirectories you might want to
  531.         rename the OS/2 executable to T.EXE also.  This avoids having to
  532.         remember whether to type T or T2 depending on the environment you
  533.         are using.
  534.  
  535.         Since T is so small it makes sense to put it on a RAMDRIVE if you
  536.         have one installed, this means that it will load almost instantly.
  537.  
  538.         To start T simply enter the following command at the DOS or OS/2
  539.         prompt:
  540.  
  541.              T <filename> <filename> ...
  542.  
  543.         You can put any number, including zero, of file names after the
  544.         T command and T will load each file you list into its memory.
  545.  
  546.  
  547.         2.2 SCREEN LAYOUT
  548.  
  549.         The T screen is divided into four areas:
  550.  
  551.         1. The Message Line and the Help line.
  552.  
  553.            The bottom line of the screen is used to display error and
  554.            informational messages.  When no messages are displayed this
  555.            line instead shows a single line of "help".  Typically the
  556.            functions assigned to the F-keys are displayed, but this can be
  557.            customised to whatever you want.
  558.  
  559.         2. The Status Line.
  560.  
  561.            Above the message line is the status line.  This shows the name
  562.            of the current document and the line and column number of the
  563.            cursor within the document.  If a right-hand margin has been set
  564.            this will also be displayed following an "M" margin indicator.
  565.            The current typing mode (either "replace" or "insert") is also
  566.            indicated.
  567.  
  568.         
  569.                                                          Getting Started  4
  570.  
  571.         (C) Copyright IBM Corporation 1987, 1992
  572.         
  573.         
  574.         
  575.         3. The Command Line.
  576.  
  577.            Above the status line is the command line.  Any any valid
  578.            T command may be entered here.
  579.  
  580.         4. The Data Area.
  581.  
  582.            The rest of the screen is used to display the document being
  583.            edited.
  584.  
  585.         The size of the data area is automatically adjusted to fill the
  586.         whole of the screen.  Most recent displays (EGAs or better) can
  587.         show more than 25 lines and some can show more than 80 columns.
  588.         T cannot change the size of the display but it will use whatever
  589.         number of lines and columns are set when it is started.  So to see
  590.         rather more data on the screen first switch to a greater than 25
  591.         line mode then invoke T.  For example, the following command will
  592.         switch to a 43 line mode under OS/2 or DOS (this needs DOS 4.00 or
  593.         later):
  594.  
  595.              MODE CO80,43
  596.  
  597.  
  598.  
  599.         2.3 THE HELP FILE
  600.  
  601.         T is supplied with a simple help file which describes the default
  602.         key settings and the commands available.  When using T for the
  603.         first time ensure that the help file, THELP.HLP, is available in
  604.         the current directory of the current drive.  Later you can
  605.         customise the editor to allow the help file to be kept somewhere
  606.         else.
  607.  
  608.         Press the F1 key to load and display the help file.  Then use the
  609.         PgUp and PgDn keys to view the various help panels it contains.  If
  610.         you have a 40-column display use the Home and End keys to view the
  611.         left and right hand panels.
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.         
  632.                                                          Getting Started  5
  633.  
  634.         (C) Copyright IBM Corporation 1987, 1992
  635.         
  636.         
  637.         
  638.         3.0 EDITING
  639.  
  640.         This section gives a brief introduction to editing with T.  It
  641.         assumes the editor is used in its default configuration, as
  642.         supplied.  Later sections describe how to customise the editor.
  643.         Anyone who is familiar with the IBM Personal Editor will recognise
  644.         the way T works immediately and should be able to skip most of this
  645.         section - although a glance at "3.3 Word Processing" on page 9 and
  646.         "3.4 Drawing Boxes" on page 10 might be worthwhile.
  647.  
  648.  
  649.         3.1 SIMPLE EDITING
  650.  
  651.         If T is started without any filename (by just entering T on the
  652.         command line) it displays and edits a new, empty, un-named
  653.         document.  A "Top Of File" marker line indicates the top of the
  654.         document and a "Bottom Of File" marks the bottom.  These marker
  655.         lines are not part of the document and may not be edited, although
  656.         the cursor may be moved onto them.
  657.  
  658.  
  659.         3.1.1 THE COMMAND LINE
  660.  
  661.         The cursor starts off on the command line, which is the third line
  662.         up from the bottom of the screen.  Any T command can be entered on
  663.         the command line, it is executed when the Enter key is pressed.  As
  664.         a command is typed in mistakes can be corrected using the cursor
  665.         Left, cursor Right and Backspace keys.  When the editor is in
  666.         "replace" mode any characters typed overwrite those already on the
  667.         screen; when in "insert" mode any characters to the right of the
  668.         cursor are shifted right to make room for the new text.  Switch
  669.         between "insert" and "replace" mode by pressing the Ins key.
  670.  
  671.         When on the command line the cursor Up and cursor Down keys recall
  672.         any previous commands entered.  These can then either be entered
  673.         again directly by pressing Enter or can be altered before being
  674.         reused.
  675.  
  676.  
  677.         3.1.2 THE DATA AREA
  678.  
  679.         The cursor may be switched into the data area by pressing the Esc
  680.         key.  When the cursor is on the command line a shadow cursor marks
  681.         the position in the data where the real cursor will appear when Esc
  682.         is pressed.
  683.  
  684.         When the cursor is in the data area it may be moved anywhere
  685.         between the "Top Of File" and "Bottom Of File" markers using the
  686.         cursor keys.  At any place text may be typed from the keyboard.  If
  687.         the editor is in "replace" mode any text typed will overwrite
  688.         whatever was there before, if it is in "insert" mode anything to
  689.         the right of the cursor will be shifted to the right to make room
  690.         for the new text.
  691.  
  692.  
  693.  
  694.         
  695.                                                                  Editing  6
  696.  
  697.         (C) Copyright IBM Corporation 1987, 1992
  698.         
  699.         
  700.         
  701.         To add a new line press Ctrl-Enter, and to delete a line press
  702.         Ctrl-Backspace.  Alternatively if the editor is in "insert" mode
  703.         just pressing Enter will insert a new blank line.
  704.  
  705.  
  706.         3.1.3 MARKING AND COPYING LINES
  707.  
  708.         A block of one or more lines may be marked by pressing the key
  709.         Alt-L n the first and last lines of the required block.
  710.  
  711.         Marked blocks may be deleted by pressing Alt-D or they be moved or
  712.         copied somewhere else.  To move or copy first position the cursor
  713.         at the line above the desired new position, then press either Alt-M
  714.         or Alt-C respectively.
  715.  
  716.         Marked blocks are also useful for limiting the scope of a CHANGE or
  717.         LOCATE command.
  718.  
  719.         It is also possible to shift all marked lines one character to the
  720.         left or right by pressing Alt-F7 or Alt-F8 respectively.  This can
  721.         be useful when writing programs to indent a block of code.
  722.  
  723.         To duplicate a copy of the current line just press Alt-R.
  724.  
  725.  
  726.         3.1.4 SAVING DOCUMENTS
  727.  
  728.         If a document has a name (displayed on the status line) it can be
  729.         saved to disk simply by pressing F2; once saved you may quit the
  730.         document by pressing F3.  Alternately you can perform a save and
  731.         quit in one operation by pressing F4.  If a document doesn't have a
  732.         name you must give it one: either use the NAME command to name the
  733.         document or use the SAVE or FILE commands along with a filename
  734.         parameter.
  735.  
  736.         Note: Pressing F4 (the SAFE FILE function) will not cause the file
  737.         to be written to disk if it has not been changed.  If you want to
  738.         force an unchanged document to be re-written to disk simply use the
  739.         FILE command from the command line.
  740.  
  741.  
  742.         3.1.5 WORKING ON SEVERAL DOCUMENTS
  743.  
  744.         T can edit any number of documents at once.  The documents are held
  745.         in an edit ring, and although only one can be displayed on the
  746.         screen at one time, you can cycle through the ring by pressing the
  747.         F10 and F11 keys.  The actual number of documents you can hold in
  748.         the ring depends on the size of each document and how much memory
  749.         your machine has; each document has to be completely loaded in
  750.         memory.
  751.  
  752.         To load multiple documents you can either enter several filenames
  753.         when T is started from the command line, or you can issue EDIT
  754.         commands to load more files once T is running.
  755.  
  756.  
  757.         
  758.                                                                  Editing  7
  759.  
  760.         (C) Copyright IBM Corporation 1987, 1992
  761.         
  762.         
  763.         
  764.         The marked line functions move (Alt-M) and copy (Alt-C) are
  765.         particularly useful when editing several documents as lines can be
  766.         moved and copied to and from different documents.
  767.  
  768.  
  769.         3.2 SEARCH AND REPLACE
  770.  
  771.  
  772.  
  773.         3.2.1 SEARCHING
  774.  
  775.         To search for a particular word or phrase in a document switch onto
  776.         the command line and use the LOCATE command.  In its simplest form
  777.         you just enter a command rather like this:
  778.  
  779.              /word
  780.  
  781.         This will search the document for the next occurrence of "word".
  782.         Remember this only searches from the current position onwards, to
  783.         search from the top you need to first move to the top by pressing
  784.         Ctrl-Home.
  785.  
  786.         Having found a match you can repeat the search to find the next
  787.         match simply by pressing Alt-F.  If no further matches can be found
  788.         before the end of the document the message "No match found" will be
  789.         displayed.
  790.  
  791.         Normally LOCATE commands are case-sensitive i.e. a search for
  792.         "word" would not find "Word".  To do a case-insensitive search add
  793.         the "c" option to the command:
  794.  
  795.              /word/c
  796.  
  797.  
  798.  
  799.         3.2.2 REPLACING
  800.  
  801.         To change one word or phrase into something else switch onto the
  802.         command line and use the CHANGE command, for example:
  803.  
  804.              C/this/that
  805.  
  806.         This will search for the next occurrence of the word "this" and
  807.         then prompt for an action: "Yes/No/Go/Last/Quit?".  Hit either Y,
  808.         N, G, L or Q as appropriate:
  809.  
  810.         Yes    To change this occurrence of "this" into "that" and to
  811.                search for the next occurrence of "this".
  812.  
  813.         No     To skip this change, but to continue searching.
  814.  
  815.         Go     To make this change and all further changes to the end of
  816.                the document without any further prompting.
  817.  
  818.         Last   To make this change and to stop searching, so this becomes
  819.  
  820.         
  821.                                                                  Editing  8
  822.  
  823.         (C) Copyright IBM Corporation 1987, 1992
  824.         
  825.         
  826.         
  827.                the last change.
  828.  
  829.         Quit   To skip this change and stop searching.
  830.  
  831.         To avoid the prompt message and to make all changes straightaway
  832.         add the "*" option to the command:
  833.  
  834.              C/this/that/*
  835.  
  836.  
  837.  
  838.         3.3 WORD PROCESSING
  839.  
  840.         T is not designed to be a word processor, but it does provide some
  841.         very simple word processing functions that are useful for creating
  842.         quick notes or for entering marked-up documents that will later be
  843.         formatted with a batch formatter.
  844.  
  845.  
  846.         3.3.1 THE RIGHT MARGIN AND WORD SPILL
  847.  
  848.         The command MARGIN allows a right hand margin column to be set.
  849.         When a margin is set the status line indicates its column number
  850.         with "M nnn".  To set the right hand margin to column 72 you would
  851.         enter the command:
  852.  
  853.              MARGIN 72
  854.  
  855.         As text is entered into the document any words that are typed
  856.         across the right hand margin are automatically word-spilled onto a
  857.         new inserted line.  This means it is possible to type whole
  858.         paragraphs without having to worry about hitting Enter at the end
  859.         of each line.  As words spill onto a new line they are
  860.         automatically indented from the left hand side so as they align
  861.         under the first non-blank character of the line above.  This makes
  862.         it very simple to leave a left margin or to enter whole sections
  863.         indented.
  864.  
  865.  
  866.         3.3.2 THE ADJUST LINE FUNCTION
  867.  
  868.         If corrections need to be made to text entered with a right margin
  869.         the text will not be reflowed automatically to keep the margins
  870.         correct.  In fact after making a number of corrections it will tend
  871.         to end up in rather a mess.  The ADJUST LINE function is provided
  872.         to tidy up this mess and re-align everything correctly.  ADJUST
  873.         LINE is performed by pressing Alt-A and will adjust the current
  874.         line based on the current right margin setting.  If the line is too
  875.         short it will be filled out with words from the next line down and
  876.         if it is too long it will be split in two.  As with the word-spill,
  877.         when ADJUST LINE spills words onto the next line they are aligned
  878.         under the first non-blank character of the preceding line.
  879.  
  880.         ADJUST LINE will ignore blank lines skipping over them and moving
  881.         the cursor to the next line down, and if a line needs to be split
  882.  
  883.         
  884.                                                                  Editing  9
  885.  
  886.         (C) Copyright IBM Corporation 1987, 1992
  887.         
  888.         
  889.         
  890.         in two the cursor will move down to the split-off portion.  This
  891.         makes re-adjusting whole paragraphs very simple, just place the
  892.         cursor on the first line of the paragraph and keep pressing Alt-A
  893.         until it is re-flowed correctly.
  894.  
  895.         Note: When a line is too short and ADJUST LINE fills with words
  896.         from the next line, these words are joined to the line with just
  897.         one intervening blank.  If before the ADJUST LINE the last
  898.         character happened to be a full stop at the end of a sentence you
  899.         may need to go back and insert an extra space to maintain the
  900.         convention of two blanks following a sentence end.
  901.  
  902.  
  903.         3.4 DRAWING BOXES
  904.  
  905.         The PC character set contains a group of special symbols that can
  906.         be used to draw boxes.  T assigns the box corner and intersection
  907.         characters to the keys Alt-1 to Alt-9.  As a reminder of which box
  908.         corner is assigned to which key, just look at the numeric keypad
  909.         which is arranged like this:
  910.  
  911.              7  8  9
  912.              4  5  6
  913.              1  2  3
  914.  
  915.         So the Alt-7 key produces a top left box corner, the Alt-3 a bottom
  916.         right and so on.  Remember though that the keypad just provides a
  917.         mnemonic - you must actually enter characters using the Alt-key and
  918.         the numerals along the top of the main keyboard area.
  919.  
  920.         The horizontal line is assigned to Alt-- (Alt-minus) and the
  921.         vertical line to Alt-= (Alt-equals).  These two may need
  922.         reassigning to use other keys on non-English language keyboards,
  923.         where the "-" and "=" keys don't appear on the top row just after
  924.         the numerals.  This can be done by customising the editor (see "4.0
  925.         Customising" on page 12).
  926.  
  927.  
  928.         3.5 PRINTING
  929.  
  930.         To print the current document switch onto the command line and
  931.         enter the PRINT command.  No special facilities are provided for
  932.         formatted printing, the PRINT command will simply write a copy of
  933.         the current document to the printer.  If used with no parameters
  934.         PRINT will write to the device PRN, which for most people will be
  935.         the printer attached to their machine.  If you have a serially
  936.         attached printer or use use a LAN printer you may need to specify a
  937.         device to print to, for example:
  938.  
  939.              PRINT COM1
  940.          or  PRINT LPT2
  941.  
  942.         To print a piece of a document first mark the block of lines to be
  943.         printed, then use the PUT command to write them to a device.  A
  944.         device must be specified with the PUT command, so normally you
  945.  
  946.         
  947.                                                                 Editing  10
  948.  
  949.         (C) Copyright IBM Corporation 1987, 1992
  950.         
  951.         
  952.         
  953.         would use:
  954.  
  955.              PUT PRN
  956.  
  957.  
  958.  
  959.         3.5.1 PRINTER CONTROL CODES
  960.  
  961.         You may embed printer control codes directly in your documents if
  962.         you want to produce special effects such as bold or emphasised.
  963.         Control codes normally require the use of the function ESCAPE
  964.         (assigned to Alt-X) to allow them to be entered.  Press Alt-X
  965.         followed by the control code you want.
  966.  
  967.         All control codes can be entered using the keypad on the right of
  968.         the keyboard.  After pressing Alt-X, press and hold down the Alt
  969.         key, then type the decimal number of the control code on the keypad
  970.         and release the Alt key.  Most control codes show up on the screen
  971.         as odd little symbols.
  972.  
  973.         You will need to refer to your printer manual to see what control
  974.         codes are available and what they do on your printer.
  975.  
  976.  
  977.         3.5.2 PRINTER SET UP
  978.  
  979.         You may prefer not to place the printer control codes directly in
  980.         the document, but to keep the document as plain, readable text.
  981.         But you may want to send a few special characters to the printer
  982.         before printing a document, perhaps to switch the printer to NLQ
  983.         mode.
  984.  
  985.         These printer set up sequences can be issued with a DOS ECHO
  986.         command, for example to put a Proprinter into NLQ mode issue the
  987.         following command:
  988.  
  989.              DOS ECHO xG >PRN
  990.  
  991.         where the "x" should be an ASCII "Esc" control code entered by
  992.         hitting Alt-X followed by the Esc key.
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.         
  1010.                                                                 Editing  11
  1011.  
  1012.         (C) Copyright IBM Corporation 1987, 1992
  1013.         
  1014.         
  1015.         
  1016.         4.0 CUSTOMISING
  1017.  
  1018.         This section describes how you can customise T to match your own
  1019.         preferences for screen colours, keyboard layouts and special
  1020.         settings.  Even if you like T exactly the way it is supplied and
  1021.         don't want to change any of the colours or keys, you will probably
  1022.         still need to customise some of the special settings, at least to
  1023.         tell the editor where you keep its help file.
  1024.  
  1025.         To customise T you must first construct a Custom Definition
  1026.         File, which is described in detail in the next section.  Then use
  1027.         the TKEY.EXE customiser program to customise your copy of the
  1028.         editor, by entering this command:
  1029.  
  1030.              TKEY  custom-file  editor-file
  1031.  
  1032.         Replace custom-file with the name of your custom definition file
  1033.         and replace editor-file with the name the editor you want to
  1034.         customise.  Unless you tell it otherwise TKEY will assume the
  1035.         custom definition file has an extension of .DEF and the editor of
  1036.         .EXE.  So to customise both the PC-DOS and the OS/2 versions with a
  1037.         custom definition file called TCUST.DEF you would use the two
  1038.         commands:
  1039.  
  1040.              TKEY TCUST T
  1041.          and TKEY TCUST T2
  1042.  
  1043.         Once the customising is complete the changes are recorded
  1044.         permanently inside the .EXE file.  You no longer need either the
  1045.         TKEY program or your custom definition file, unless you decide to
  1046.         make further changes.
  1047.  
  1048.  
  1049.         4.1 THE CUSTOM DEFINITION FILE
  1050.  
  1051.         The custom definition file contains a description of the way you
  1052.         want T to be configured.  An example of a custom definition file is
  1053.         supplied with T, this is called TKEYS.DEF and contains the
  1054.         description of the default configuration.  This file serves as a
  1055.         good example of how to write a custom definition, but should be
  1056.         used for reference only.  You should create your own custom
  1057.         definition file and call it something other than TKEYS.DEF.  This
  1058.         will ensure that if you ever obtain a new copy the T package you do
  1059.         not lose any changes you made.  Of course a good way to start your
  1060.         own definition file would be to copy TKEYS.DEF under another name.
  1061.  
  1062.         The custom definition file contains four sorts of item.  Normally
  1063.         each item is placed on a new line, although one item can be split
  1064.         over several lines or several items can be placed on one line, if
  1065.         desired.
  1066.  
  1067.         1. Comments.
  1068.  
  1069.            Comments are ignored by the customiser program and serve to make
  1070.            the definition file more readable.  Comments come in three
  1071.  
  1072.         
  1073.                                                             Customising  12
  1074.  
  1075.         (C) Copyright IBM Corporation 1987, 1992
  1076.         
  1077.         
  1078.         
  1079.            flavours:
  1080.  
  1081.            a. Anything between the comment markers /* and */.  Comments of
  1082.               this sort can extend over several lines if required.
  1083.  
  1084.            b. Anything between the comment marker // and the end of the
  1085.               line.
  1086.  
  1087.            c. Several special words and symbols are ignored: blank lines,
  1088.               blank spaces, ON, OF, TO, IS, ;, =, [ and ].
  1089.  
  1090.         2. Colour Commands
  1091.  
  1092.            Colour commands define the colours used for the various parts of
  1093.            the screen.
  1094.  
  1095.         3. Key Commands
  1096.  
  1097.            Key commands assign keyboard functions or single characters to
  1098.            keys.
  1099.  
  1100.         4. Set Commands
  1101.  
  1102.            Set commands alter the editor's special settings.
  1103.  
  1104.         In the following descriptions uppercase will be used to indicate
  1105.         keywords and lowercase to indicate parameters you must enter.
  1106.         Items in angle brackets are optional.  In your custom definition
  1107.         file you may use any mixture of upper- or lowercase.
  1108.  
  1109.  
  1110.         4.1.1 COLOUR COMMANDS
  1111.  
  1112.              COLOUR screen area = fore <ON back>
  1113.          or  COLOR  screen area = fore <ON back>
  1114.  
  1115.         Colour commands define the colours that will be used for the
  1116.         various areas of the screen, the following parameters should be
  1117.         provided:
  1118.  
  1119.         screen   is either MONO or COLOUR (or COLOR).  Two sets of colours
  1120.                  are defined, one set is used with the colour modes of the
  1121.                  colour displays and the other with the monochrome display
  1122.                  or with the colour display when in black-and-white modes
  1123.                  (this latter setting can be useful when a colour card
  1124.                  drives a mono screen like Portable PC's built in amber
  1125.                  screen).
  1126.  
  1127.         area     is an area of the screen.  It should be one of:
  1128.                      DATA
  1129.                      MARK
  1130.                      SHADOW CURSOR
  1131.                      STATUS LINE
  1132.                      HELP LINE
  1133.                      MESSAGE LINE
  1134.  
  1135.         
  1136.                                                             Customising  13
  1137.  
  1138.         (C) Copyright IBM Corporation 1987, 1992
  1139.         
  1140.         
  1141.         
  1142.         fore     is the foreground colour, one of:
  1143.                      BLACK
  1144.                      BLUE
  1145.                      GREEN
  1146.                      TURQUOISE or CYAN
  1147.                      RED
  1148.                      PINK or MAGENTA
  1149.                      BROWN
  1150.                      WHITE
  1151.                      GREY or GRAY
  1152.                      YELLOW
  1153.  
  1154.                  Optionally each colour may be preceded by one or more
  1155.                  attributes chosen from:
  1156.                      UNDERLINED
  1157.                      BLINKING
  1158.                      BRIGHT or LIGHT
  1159.  
  1160.                  Not all combinations are meaningful or useable on the PC,
  1161.                  although the customiser program will accept them.  In
  1162.                  particular: UNDERLINED is only meaningful with the mono
  1163.                  screen, YELLOW is the same as BRIGHT BROWN and GREY is the
  1164.                  same as BRIGHT BLACK.
  1165.  
  1166.         back     is an optional background colour specified from the same
  1167.                  choices as the foreground colours, although only the
  1168.                  BRIGHT or LIGHT attributes may be used.  Note that on some
  1169.                  machines a BRIGHT background will actually produce a
  1170.                  BLINKING foreground instead.  (Bear this in mind
  1171.                  particularly if YELLOW i.e. BRIGHT BROWN or GREY i.e.
  1172.                  BRIGHT BLACK are chosen as background colours.)
  1173.  
  1174.                  If no background is given BLACK will be used.
  1175.  
  1176.  
  1177.  
  1178.         4.1.2 KEY COMMANDS
  1179.  
  1180.              KEY <shift->keyname = function
  1181.          or  DEF <shift->keyname = function
  1182.          or  KEY <shift->keyname = character
  1183.          or  DEF <shift->keyname = character
  1184.  
  1185.         Key commands assign the editor's keyboard functions or single ASCII
  1186.         characters to user definable keys.  The parameters are:
  1187.  
  1188.         shift-      is the shift key that must be pressed.  It is omitted
  1189.                     for unshifted keys or specified as one of:
  1190.  
  1191.                     S-   for either of the shift keys.
  1192.  
  1193.                     C-   for the Ctrl key.
  1194.  
  1195.                     A-   for the Alt key.
  1196.  
  1197.  
  1198.         
  1199.                                                             Customising  14
  1200.  
  1201.         (C) Copyright IBM Corporation 1987, 1992
  1202.         
  1203.         
  1204.         
  1205.         keyname     is chosen from:
  1206.                         A to Z
  1207.                         0 to 9
  1208.                         F1 to F12
  1209.                         - (the minus key)
  1210.                         = (the equals key)
  1211.                         [ (the open square bracket key)
  1212.                         ] (the close square bracket key)
  1213.                         \ (the backslash key)
  1214.                         ESC
  1215.                         TAB
  1216.                         BACKSPACE
  1217.                         ENTER
  1218.                         HOME
  1219.                         END
  1220.                         PGUP
  1221.                         PGDN
  1222.                         UP
  1223.                         DOWN
  1224.                         LEFT
  1225.                         RIGHT
  1226.                         INS
  1227.                         DEL
  1228.                         PAD5
  1229.  
  1230.                     Not all shift-keyname combinations are valid, and some
  1231.                     are not available for use on the older PC keyboard -
  1232.                     the one with 10 F-keys over on the left.  See "Appendix
  1233.                     B.  User Definable Keys" on page 41 for a full list of
  1234.                     combinations.
  1235.  
  1236.                     Note: The following pairs of keys are considered
  1237.                     identical by T, so assigning a function to one will
  1238.                     also assign it to the other:
  1239.                         C-M and ENTER
  1240.                         C-[ and ESC
  1241.                         C-I and TAB
  1242.                         C-H and BACKSPACE
  1243.                         C-J and C-ENTER
  1244.  
  1245.         function    is one of the keyboard functions.  The full list of
  1246.                     keyboard functions is defined in "2.0 Keyboard
  1247.                     Functions" on page 24.
  1248.  
  1249.         character   is a single ASCII character.  This can either be
  1250.                     specified as the character itself in quotes, or using
  1251.                     the form:
  1252.  
  1253.              ASCII nnn
  1254.  
  1255.                     where nnn is the character's ASCII code point.  This
  1256.                     allows characters not normally present on the keyboard
  1257.                     (such as the box drawing characters) to be assigned to
  1258.                     keys.
  1259.  
  1260.  
  1261.         
  1262.                                                             Customising  15
  1263.  
  1264.         (C) Copyright IBM Corporation 1987, 1992
  1265.         
  1266.         
  1267.         
  1268.         4.1.3 SET COMMANDS
  1269.  
  1270.              SET item = value
  1271.  
  1272.         Set command allow customising of the special editor settings.
  1273.         These are described in detail in "3.0 Settings" on page 33.
  1274.  
  1275.  
  1276.         4.2 THE HELP AND USER FUNCTIONS
  1277.  
  1278.         The HELP and USER keyboard functions are rather special, and quite
  1279.         powerful features.  The HELP and USER functions work in an
  1280.         identical way, the fact that one is called "HELP" is only really to
  1281.         suggest a good use for the function; once you are familiar with the
  1282.         way T works you may decide you no longer really need a help system,
  1283.         and you can then use HELP for something else completely.
  1284.  
  1285.         The functions are defined by two items in the custom definition
  1286.         file.  Firstly the keyboard function is assigned to key, and
  1287.         secondly a Tcommand is assigned to the function.  For example:
  1288.  
  1289.              KEY F1 = HELP
  1290.              SET HELP COMMAND = "EDIT THELP.HLP"
  1291.  
  1292.         In this example the HELP keyboard function is assigned to the F1
  1293.         key, and the help function is assigned the command "EDIT
  1294.         THELP.HLP".
  1295.  
  1296.         When the HELP keyboard function is pressed (i.e. F1 is pressed)
  1297.         T will execute the HELP command, just as if it had been typed on
  1298.         the command line.  In this example it will therefore load and
  1299.         display a help file.
  1300.  
  1301.         The command that is assigned to the function can be any command
  1302.         that could be entered on the T command line, so some other useful
  1303.         applications might be:
  1304.  
  1305.         -  Use the standard T help file but locate it in the
  1306.            \EDITORS\T subdirectory on the C: drive:
  1307.  
  1308.              KEY F1 = HELP
  1309.              SET HELP COMMAND = "T C:\EDITORS\T\THELP.HLP"
  1310.  
  1311.         -  Set Alt-P to print the current document to COM1:
  1312.  
  1313.              KEY A-P = USER
  1314.              SET USER COMMAND = "PRINT COM1"
  1315.  
  1316.         -  Set Alt-H to invoke an external HELP program for a subject
  1317.            called "T":
  1318.  
  1319.              KEY A-H = HELP
  1320.              SET HELP COMMAND = "DOS HELP T"
  1321.  
  1322.         -  Set the F5 key to shell out to a DOS or OS/2 command prompt:
  1323.  
  1324.         
  1325.                                                             Customising  16
  1326.  
  1327.         (C) Copyright IBM Corporation 1987, 1992
  1328.         
  1329.         
  1330.         
  1331.              KEY F5 = USER
  1332.              SET USER COMMAND = "DOS"
  1333.  
  1334.  
  1335.  
  1336.         4.3 THE ENHANCED KEYBOARD
  1337.  
  1338.         Most recent PCs and all PS/2s come with IBM's Enhanced Keyboard.
  1339.         This is the keyboard with twelve function keys arranged across the
  1340.         top and an extra set of cursor control keys between the typewriter
  1341.         keys and the numeric keypad.  Older PCs and some notebook style
  1342.         machines have a keyboard with just ten function keys.  To make use
  1343.         of the extra keys on the Enhanced Keyboard a program must work in a
  1344.         different way from that which was used to handle the old-style
  1345.         keyboards, if the old-style interface is used only the subset of
  1346.         keys present on the older keyboard will be recognised.  This is
  1347.         necessary to maintain compatibility with old programs.
  1348.  
  1349.         T attempts to determine which type of keyboard interface to use, so
  1350.         that if an Enhanced Keyboard is attached all its keys will be
  1351.         available.  However the tests used to decide which type of keyboard
  1352.         is present can be fooled by some non-IBM BIOSs, and by some older
  1353.         TSR programs that were created before the Enhanced Keyboard was
  1354.         available.  This usually shows up as a problem when the editor
  1355.         starts: the command line becomes full of a repeated character and
  1356.         the editor hangs.
  1357.  
  1358.         In situations like these you must force T to use the old keyboard
  1359.         interface by putting this line in your custom definition file:
  1360.  
  1361.              SET KEYBOARD = STANDARD
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.         
  1388.                                                             Customising  17
  1389.  
  1390.         (C) Copyright IBM Corporation 1987, 1992
  1391.         
  1392.         
  1393.         
  1394.                                                   Part 2.  Editor Reference
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.         
  1451.                                               Part 2.  Editor Reference  18
  1452.  
  1453.         (C) Copyright IBM Corporation 1987, 1992
  1454.         
  1455.         
  1456.         
  1457.         1.0 COMMANDS
  1458.  
  1459.         This section describes each of the commands that may be entered on
  1460.         the T command line.  In describing the syntax of the commands,
  1461.         upper-case letters are used for the command name and lower-case
  1462.         letters for any parameters you must supply.  Optional parameters
  1463.         are enclosed in angle brackets.  Commands may actually be entered
  1464.         in any mixture of upper- or lower-case.
  1465.  
  1466.         Where the parameters call for a filename enter any valid DOS or
  1467.         OS/2 file name.  This may include the drive letter and directory
  1468.         path if required; if none is given the current drive and directory
  1469.         will be used.  When using the OS/2 High Performance File System
  1470.         (HPFS) filenames are not limited to the DOS "8-dot-3" format and
  1471.         any upper- or lower-case characters used will be preserved.
  1472.  
  1473.  
  1474.         1.1 APPEND
  1475.  
  1476.              APPEND filename
  1477.  
  1478.         The currently marked lines are written to the file
  1479.         "filename".  The lines are added to the end of the file, preserving
  1480.         any former contents.  The file is created if it does not exist.
  1481.  
  1482.  
  1483.         1.2 CHANGE
  1484.  
  1485.              C /target/replacement</options>
  1486.  
  1487.         The next occurrence of the text "target" starting from the current
  1488.         cursor position, is located.  Then the message
  1489.         "Yes/No/Go/Last/Quit?" is displayed, to which you should reply with
  1490.         one of:
  1491.  
  1492.         Y   to change this instance of "target" into
  1493.             "replacement".  The next occurrence of "target" is then found
  1494.             and the process repeats.
  1495.  
  1496.         N   to not change this instance of "target", but to continue
  1497.             searching for the the next occurrence.
  1498.  
  1499.         G   to change this instance of "target" into
  1500.             "replacement" and then to change all further instances (until
  1501.             to end of the document) without further prompting.
  1502.  
  1503.         L   to change this instance of "target" into
  1504.             "replacement" and then to stop the command, so this becomes the
  1505.             last change made.
  1506.  
  1507.         Q   to stop the change command without making any further changes.
  1508.  
  1509.         The "/" character is a delimiter and it can be replaced with any
  1510.         character that does not occur in either the "target" or the
  1511.         "replacement".  Note that the delimiter is the first non-blank
  1512.  
  1513.         
  1514.                                                                Commands  19
  1515.  
  1516.         (C) Copyright IBM Corporation 1987, 1992
  1517.         
  1518.         
  1519.         
  1520.         character following the C command.
  1521.  
  1522.         Following a final delimiter any of these options may be used:
  1523.  
  1524.         m   to restrict the changes to the marked lines only.
  1525.  
  1526.         *   to change all occurrences of "target" to
  1527.             "replacement" without prompting.
  1528.  
  1529.         Note: Change commands are always case-sensitive.
  1530.  
  1531.  
  1532.         1.3 DOS
  1533.  
  1534.              DOS <command>
  1535.          or  .<command>
  1536.  
  1537.         A secondary DOS or OS/2 shell is started to execute the
  1538.         "command".  A full stop, ".", may be used as a quick abbreviation
  1539.         for the word DOS.
  1540.  
  1541.         If no "command" is given the DOS or OS/2 command line prompt will
  1542.         appear.  You can return to T by entering the command EXIT.
  1543.  
  1544.  
  1545.         1.4 EDIT
  1546.  
  1547.              EDIT <filename>
  1548.          or  E <filename>
  1549.          or  T <filename>
  1550.  
  1551.         If a "filename" is given T will switch directly to display that
  1552.         document.  The file will be loaded from disk, if it is not already
  1553.         in the edit ring.
  1554.  
  1555.         If no "filename" is given the next document in the edit ring will
  1556.         be selected.
  1557.  
  1558.  
  1559.         1.5 FILE
  1560.  
  1561.              FILE <filename>
  1562.          or  F <filename>
  1563.  
  1564.         The current document will be saved to disk and then removed from
  1565.         the edit ring.  If a "filename" is given the document will be saved
  1566.         under this name, otherwise the name shown on the status line will
  1567.         be used.
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.         
  1577.                                                                Commands  20
  1578.  
  1579.         (C) Copyright IBM Corporation 1987, 1992
  1580.         
  1581.         
  1582.         
  1583.         1.6 GET
  1584.  
  1585.              GET filename
  1586.  
  1587.         The contents of "filename" will be inserted into the current
  1588.         document following the current line.
  1589.  
  1590.  
  1591.         1.7 GOTO
  1592.  
  1593.              GOTO linenum
  1594.          or  linenum
  1595.  
  1596.         Line number "linenum" will become the current line.  If
  1597.         "linenum" is bigger than the number of lines in the document the
  1598.         last line will become the current line.  The word GOTO is optional,
  1599.         just entering the required "linenum" on the command line is
  1600.         sufficient.
  1601.  
  1602.  
  1603.         1.8 LOCATE
  1604.  
  1605.              L /target</options>
  1606.          or  /target</options>
  1607.  
  1608.         The next occurrence of the text "target", starting from the current
  1609.         cursor position, will be located.  If the "L /target" form of the
  1610.         command is used the delimiter, "/", may be replaced by any
  1611.         character that does not occur in "target".
  1612.  
  1613.         Following a final delimiter any of these options may be used:
  1614.  
  1615.         m   to restrict the search to the marked lines only.
  1616.  
  1617.         e   to force an exact-case match.
  1618.  
  1619.         c   to force an any-case match.  (Apologies to non-English
  1620.             speakers: only the 26 letters "a" to "z" are correctly
  1621.             handled.)
  1622.  
  1623.         Note: if neither e nor c is given the editor's MATCH CASE setting
  1624.         is used.  This may be customised - refer to "4.0 Customising" on
  1625.         page 12 for more details.
  1626.  
  1627.  
  1628.         1.9 MARGIN
  1629.  
  1630.              MARGIN column
  1631.          or  MA column
  1632.          or  M column
  1633.  
  1634.         The right hand margin will be set to "column".  To remove the right
  1635.         hand margin enter a column value of zero.  The margin column is
  1636.         displayed on the status line in the form "M col".
  1637.  
  1638.  
  1639.         
  1640.                                                                Commands  21
  1641.  
  1642.         (C) Copyright IBM Corporation 1987, 1992
  1643.         
  1644.         
  1645.         
  1646.         The margin is used by the word-spill features: as words are typed
  1647.         across the margin column they are automatically spilled onto the
  1648.         next line.  It is also used by the ADJUST LINE keyboard function
  1649.         (see "3.3 Word Processing" on page 9).
  1650.  
  1651.  
  1652.         1.10 NAME
  1653.  
  1654.              NAME <name>
  1655.          or  N <name>
  1656.  
  1657.         The current document will be renamed to "name".
  1658.  
  1659.  
  1660.         1.11 PRINT
  1661.  
  1662.              PRINT <device>
  1663.  
  1664.         The current document will be printed.  It is printed to the named
  1665.         "device", if one is specified, otherwise the device PRN is used.
  1666.  
  1667.  
  1668.         1.12 PUT
  1669.  
  1670.             PUT filename
  1671.  
  1672.         The currently marked lines will be written to the file
  1673.         "filename".  Any former contents of the file are lost.
  1674.  
  1675.         Note: The marked lines can be printed using the command PUT
  1676.         PRN.
  1677.  
  1678.  
  1679.         1.13 QUIT
  1680.  
  1681.              QUIT
  1682.          or  Q
  1683.  
  1684.         The current document will be removed from the edit ring.  It will
  1685.         not be saved to disk.  If any changes have been made, since the
  1686.         document was last saved, the message "Throw away changes? (y/n)" is
  1687.         displayed; hit either Y or N as appropriate.
  1688.  
  1689.  
  1690.         1.14 SAVE
  1691.  
  1692.              SAVE <filename>
  1693.          or  S <filename>
  1694.  
  1695.         The current document will be saved to disk.  If a
  1696.         "filename" is given the document will be saved under this name,
  1697.         otherwise the name shown on the status line will be used.
  1698.  
  1699.  
  1700.  
  1701.  
  1702.         
  1703.                                                                Commands  22
  1704.  
  1705.         (C) Copyright IBM Corporation 1987, 1992
  1706.         
  1707.         
  1708.         
  1709.         1.15 VERSION
  1710.  
  1711.              VER
  1712.  
  1713.         The T name and version number will be displayed.
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.         
  1766.                                                                Commands  23
  1767.  
  1768.         (C) Copyright IBM Corporation 1987, 1992
  1769.         
  1770.         
  1771.         
  1772.         2.0 KEYBOARD FUNCTIONS
  1773.  
  1774.         This section describes each of the keyboard functionsthat are
  1775.         available to the editor.  Keyboard functions are invoked by
  1776.         pressing the key to which they have been assigned.  This assignment
  1777.         is made in a custom definition file using entries of the form:
  1778.  
  1779.              KEY key = function
  1780.          or  DEF key = function
  1781.  
  1782.         The descriptions which follow include the default key to which the
  1783.         function is assigned.
  1784.  
  1785.  
  1786.         2.1 ADJUST LINE
  1787.  
  1788.         Default key: Alt-A
  1789.  
  1790.         Adjusts the current line to the right hand margin setting.  If the
  1791.         line extends beyond the margin it is split; if it does not reach
  1792.         the margin it is filled with words from the next line.  If a split
  1793.         occurs and the special setting AUTOMATIC INDENT is ON (see "3.0
  1794.         Settings" on page 33), the split-off portion will align under the
  1795.         first non-blank character of the previous line.
  1796.  
  1797.         ADJUST LINE will ignore blank lines and, when a line is split, the
  1798.         cursor will move to the split-off portion.  This makes it
  1799.         particularly simple to re-adjust a paragraph after making changes
  1800.         or altering the right margin.
  1801.  
  1802.  
  1803.         2.2 BACKSPACE
  1804.  
  1805.         Default key: Backspace
  1806.  
  1807.         Deletes the character to the left of the cursor, and moves the
  1808.         cursor one character to the left.
  1809.  
  1810.  
  1811.         2.3 BACKTAB
  1812.  
  1813.         Default key: Shift-Tab
  1814.  
  1815.         Moves the cursor left to the previous tab stop.  Tab stops are
  1816.         defined by the special setting TAB SPACING (see "3.0 Settings" on
  1817.         page 33).
  1818.  
  1819.  
  1820.         2.4 BOTTOM OF FILE
  1821.  
  1822.         Default key: Ctrl-End
  1823.  
  1824.         Makes the current line the last line in the document, and positions
  1825.         this line at the bottom of the screen.
  1826.  
  1827.  
  1828.         
  1829.                                                      Keyboard Functions  24
  1830.  
  1831.         (C) Copyright IBM Corporation 1987, 1992
  1832.         
  1833.         
  1834.         
  1835.         2.5 BOTTOM OF MARK
  1836.  
  1837.         Default key: Alt-E
  1838.  
  1839.         Makes the current line the last marked line.  If the marked lines
  1840.         are in a different document that document will become the current
  1841.         document.
  1842.  
  1843.  
  1844.         2.6 BOTTOM OF SCREEN
  1845.  
  1846.         Default key: Ctrl-PgDn
  1847.  
  1848.         Moves the cursor to the last line of the document on the screen.
  1849.  
  1850.  
  1851.         2.7 CLEAR MARK
  1852.  
  1853.         Default key: Alt-U
  1854.  
  1855.         Un-marks any marked lines.
  1856.  
  1857.  
  1858.         2.8 COMMAND TOGGLE
  1859.  
  1860.         Default key: Esc
  1861.  
  1862.         Switches the cursor between the command line and the data area.
  1863.         When the cursor is on the command line a shadow cursor marks the
  1864.         current position in the data.
  1865.  
  1866.  
  1867.         2.9 COPY MARK
  1868.  
  1869.         Default key: Alt-C
  1870.  
  1871.         Inserts a copy the marked lines following the current line.  If
  1872.         there are several documents in the edit ring this may be used to
  1873.         copy lines from one document to another.
  1874.  
  1875.  
  1876.         2.10 DELETE CHARACTER
  1877.  
  1878.         Default key: Del
  1879.  
  1880.         Deletes the character at the cursor.
  1881.  
  1882.  
  1883.         2.11 DELETE LINE
  1884.  
  1885.         Default key: Ctrl-Backspace
  1886.  
  1887.         Deletes the current line.
  1888.  
  1889.  
  1890.  
  1891.         
  1892.                                                      Keyboard Functions  25
  1893.  
  1894.         (C) Copyright IBM Corporation 1987, 1992
  1895.         
  1896.         
  1897.         
  1898.         2.12 DELETE MARK
  1899.  
  1900.         Default key: Alt-D
  1901.  
  1902.         Deletes the marked lines.
  1903.  
  1904.  
  1905.         2.13 DOWN
  1906.  
  1907.         Default key: Down
  1908.  
  1909.         Moves the cursor down one line.
  1910.  
  1911.  
  1912.         2.14 EDIT
  1913.  
  1914.         Default key: F8
  1915.  
  1916.         Switches to the command line and keys in the command EDIT, ready
  1917.         for you to enter a filename.
  1918.  
  1919.  
  1920.         2.15 END OF LINE
  1921.  
  1922.         Default key: End
  1923.  
  1924.         Moves the cursor to the position one character after the last
  1925.         character on the current line.
  1926.  
  1927.  
  1928.         2.16 ESCAPE
  1929.  
  1930.         Default key: Alt-X
  1931.  
  1932.         This allows the entry of any ASCII character from the keyboard.
  1933.         This is useful for entering, for example, printer control codes
  1934.         into a document.  The next character typed after the ESCAPE
  1935.         function is entered directly into the document.
  1936.  
  1937.         For example to enter an ASCII "Esc" character, press ESCAPE
  1938.         followed by the Esc key, or to enter an ASCII 255, press
  1939.         ESCAPE then press and hold the Alt key and type 2 5 5 on the
  1940.         numeric keypad then release the Alt key.
  1941.  
  1942.         Note: To enter an ASCII NUL (character code 0) use the Ctrl-2 key.
  1943.  
  1944.  
  1945.         2.17 FILE
  1946.  
  1947.         Default key: None
  1948.  
  1949.         Writes the current document to disk using the name shown on the
  1950.         status line, then removes the document from the edit ring.
  1951.  
  1952.  
  1953.  
  1954.         
  1955.                                                      Keyboard Functions  26
  1956.  
  1957.         (C) Copyright IBM Corporation 1987, 1992
  1958.         
  1959.         
  1960.         
  1961.         2.18 HELP
  1962.  
  1963.         Default key: F1
  1964.  
  1965.         Causes the command specified by the special setting HELP COMMAND
  1966.         (see "3.0 Settings" on page 33) to be executed.  Refer to "4.2 The
  1967.         HELP and USER Functions" on page 16 for more details about using
  1968.         the HELP function.
  1969.  
  1970.  
  1971.         2.19 INSERT LINE
  1972.  
  1973.         Default key: Ctrl-Enter
  1974.  
  1975.         Inserts a new blank line following the current line.  If the
  1976.         special setting AUTOMATIC INDENT is ON the cursor will be aligned
  1977.         under the first non-blank character of the preceding line.
  1978.  
  1979.  
  1980.         2.20 INSERT TOGGLE
  1981.  
  1982.         Default key: Ins
  1983.  
  1984.         Toggles the editor between "insert" and "replace" modes.  The shape
  1985.         of the cursor and the Rep/Ins indicator on the status line show
  1986.         which mode is active.
  1987.  
  1988.  
  1989.         2.21 JOIN LINE
  1990.  
  1991.         Default key: Alt-J
  1992.  
  1993.         Joins together the current line and the following line.  The lines
  1994.         are joined with a single blank between them.
  1995.  
  1996.  
  1997.         2.22 LEFT
  1998.  
  1999.         Default key: Left
  2000.  
  2001.         Moves the cursor one character to the left.
  2002.  
  2003.  
  2004.         2.23 MARK LEFT
  2005.  
  2006.         Default key: Alt-F7
  2007.  
  2008.         The marked lines are shifted one character to the left.  Any
  2009.         characters moved to the left of column one are lost.
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.         
  2018.                                                      Keyboard Functions  27
  2019.  
  2020.         (C) Copyright IBM Corporation 1987, 1992
  2021.         
  2022.         
  2023.         
  2024.         2.24 MARK LINE
  2025.  
  2026.         Default key: Alt-L
  2027.  
  2028.         Marks one or more lines thus:
  2029.  
  2030.         -  If no lines are marked the current line only is marked.
  2031.  
  2032.         -  If one or more lines are already marked and the current line is
  2033.            outside the mark, the mark is extended to include the current
  2034.            line.
  2035.  
  2036.         -  If one or more lines are already marked and the current line is
  2037.            inside the mark, the mark is shrunk so the current line becomes
  2038.            the bottom of the mark.
  2039.  
  2040.  
  2041.  
  2042.         2.25 MARK RIGHT
  2043.  
  2044.         Default key: Alt-F8
  2045.  
  2046.         The marked lines are shifted one character to the right.  Any
  2047.         characters moved to the right of column 255 are lost.
  2048.  
  2049.  
  2050.         2.26 MOVE MARK
  2051.  
  2052.         Default key: Alt-M
  2053.  
  2054.         Moves the marked lines so they come after the current line.  If
  2055.         there are several documents in the edit ring this may be used to
  2056.         move lines from one document to another.
  2057.  
  2058.  
  2059.         2.27 NAME
  2060.  
  2061.         Default key: F7
  2062.  
  2063.         Switches to the command line and keys in the command NAME, ready
  2064.         for you to enter a new document name.
  2065.  
  2066.  
  2067.         2.28 NEW LINE
  2068.  
  2069.         Default key: Enter
  2070.  
  2071.         If in "insert" mode this will perform an INSERT LINEfunction, if in
  2072.         "replace" mode it will perform a NEXT LINE function.
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.         
  2081.                                                      Keyboard Functions  28
  2082.  
  2083.         (C) Copyright IBM Corporation 1987, 1992
  2084.         
  2085.         
  2086.         
  2087.         2.29 NEXT FILE
  2088.  
  2089.         Default key: F10
  2090.  
  2091.         Makes the next document in the edit ring the current document.
  2092.  
  2093.  
  2094.         2.30 NEXT LINE
  2095.  
  2096.         Default key: None
  2097.  
  2098.         Moves the cursor to the start of the next line in the document.
  2099.  
  2100.  
  2101.         2.31 NEXT WORD
  2102.  
  2103.         Default key: Ctrl-Right
  2104.  
  2105.         Moves the cursor to the first character of the next word on the
  2106.         line.  A word is considered to be sequence of non-blank characters.
  2107.  
  2108.  
  2109.         2.32 NOTHING
  2110.  
  2111.         This function does nothing.  It is used when customising the editor
  2112.         to remove the default function from a key.
  2113.  
  2114.  
  2115.         2.33 PAGE DOWN
  2116.  
  2117.         Default key: PgDn
  2118.  
  2119.         Scrolls the current document down by one screen-full.
  2120.  
  2121.  
  2122.         2.34 PAGE UP
  2123.  
  2124.         Default key: PgUp
  2125.  
  2126.         Scrolls the current document up by one screen-full.
  2127.  
  2128.  
  2129.         2.35 PREVIOUS FILE
  2130.  
  2131.         Default keys: F11 and Alt-F10
  2132.  
  2133.         Makes the previous document in the edit ring the current document.
  2134.  
  2135.  
  2136.         2.36 PREVIOUS WORD
  2137.  
  2138.         Default key: Ctrl-Left
  2139.  
  2140.         Moves the cursor to the first character of the previous word on the
  2141.         line.  A word is considered to be sequence of non-blank characters.
  2142.  
  2143.         
  2144.                                                      Keyboard Functions  29
  2145.  
  2146.         (C) Copyright IBM Corporation 1987, 1992
  2147.         
  2148.         
  2149.         
  2150.         2.37 QUIT
  2151.  
  2152.         Default key: F3
  2153.  
  2154.         Removes the current document from the edit ring.  If changes have
  2155.         been made to the document since it was last saved the message
  2156.         "Throw away changes? (y/n)" is displayed; hit either Y or N as
  2157.         appropriate.
  2158.  
  2159.  
  2160.         2.38 REPEAT FIND
  2161.  
  2162.         Default key: Alt-F
  2163.  
  2164.         Repeats the last LOCATE command that was issued.
  2165.  
  2166.  
  2167.         2.39 REPEAT LINE
  2168.  
  2169.         Default key: Alt-R
  2170.  
  2171.         Inserts a copy of the current line immediately following the
  2172.         current line.
  2173.  
  2174.  
  2175.         2.40 RIGHT
  2176.  
  2177.         Default key: Right
  2178.  
  2179.         Moves the cursor one character to the right.
  2180.  
  2181.  
  2182.         2.41 SAFE FILE
  2183.  
  2184.         Default key: F4
  2185.  
  2186.         If the document has changed this performs the FILEfunction, if the
  2187.         document has not changed it performs a QUIT.
  2188.  
  2189.  
  2190.         2.42 SAVE
  2191.  
  2192.         Default key: F2
  2193.  
  2194.         Writes the current document to disk under the name shown on the
  2195.         status line.
  2196.  
  2197.  
  2198.         2.43 SCROLL DOWN
  2199.  
  2200.         Default key: Shift-F4
  2201.  
  2202.         Scrolls the entire screen down by one line.
  2203.  
  2204.  
  2205.  
  2206.         
  2207.                                                      Keyboard Functions  30
  2208.  
  2209.         (C) Copyright IBM Corporation 1987, 1992
  2210.         
  2211.         
  2212.         
  2213.         2.44 SCROLL LEFT
  2214.  
  2215.         Default key: Shift-F1
  2216.  
  2217.         Scrolls the entire screen left by one character.
  2218.  
  2219.  
  2220.         2.45 SCROLL RIGHT
  2221.  
  2222.         Default key: Shift-F2
  2223.  
  2224.         Scrolls the entire screen right by one character.
  2225.  
  2226.  
  2227.         2.46 SCROLL UP
  2228.  
  2229.         Default key: Shift-F3
  2230.  
  2231.         Scrolls the entire screen up by one line.
  2232.  
  2233.  
  2234.         2.47 SPLIT LINE
  2235.  
  2236.         Default key: Alt-S
  2237.  
  2238.         Splits the current line into two at the cursor position.  If the
  2239.         special setting AUTOMATIC INDENT is ON the split-off portion aligns
  2240.         under the first non-blank character of the preceding line.
  2241.  
  2242.  
  2243.         2.48 START OF LINE
  2244.  
  2245.         Default key: Home
  2246.  
  2247.         Moves the cursor to the beginning of the current line.
  2248.  
  2249.  
  2250.         2.49 TAB
  2251.  
  2252.         Default key: Tab
  2253.  
  2254.         Moves the cursor right to the next tab stop.  Tab stops are defined
  2255.         by the special setting TAB SPACING (see "3.0 Settings" on page 33).
  2256.  
  2257.  
  2258.         2.50 TOP OF FILE
  2259.  
  2260.         Default key: Ctrl-Home
  2261.  
  2262.         Makes the current line the first line in the document, and
  2263.         positions this line at the top of the screen.
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.         
  2270.                                                      Keyboard Functions  31
  2271.  
  2272.         (C) Copyright IBM Corporation 1987, 1992
  2273.         
  2274.         
  2275.         
  2276.         2.51 TOP OF MARK
  2277.  
  2278.         Default key: Alt-Y
  2279.  
  2280.         Makes the current line the first marked line.  If the marked lines
  2281.         are in a different document that document will become the current
  2282.         document.
  2283.  
  2284.  
  2285.         2.52 TOP OF SCREEN
  2286.  
  2287.         Default key: Ctrl-PgUp
  2288.  
  2289.         Moves the cursor to the first line of the document on the screen.
  2290.  
  2291.  
  2292.         2.53 TRUNCATE LINE
  2293.  
  2294.         Default keys: Alt-T and Ctrl-Del
  2295.  
  2296.         Deletes all the characters on the current line to the right of the
  2297.         cursor.
  2298.  
  2299.  
  2300.         2.54 UNDO
  2301.  
  2302.         Default key: F9
  2303.  
  2304.         Provides a very limited error recovery.  Any changes made to the
  2305.         current line since the last keyboard function was executed are
  2306.         undone.
  2307.  
  2308.  
  2309.         2.55 UP
  2310.  
  2311.         Default key: Up
  2312.  
  2313.         Moves the cursor up one line.
  2314.  
  2315.  
  2316.         2.56 USER
  2317.  
  2318.         Default key: F5
  2319.  
  2320.         Causes the command specified by the special setting USER COMMAND
  2321.         (see "3.0 Settings" on page 33) to be executed.  Refer to "4.2 The
  2322.         HELP and USER Functions" on page 16 for more information about the
  2323.         USER function.
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.         
  2333.                                                      Keyboard Functions  32
  2334.  
  2335.         (C) Copyright IBM Corporation 1987, 1992
  2336.         
  2337.         
  2338.         
  2339.         3.0 SETTINGS
  2340.  
  2341.         This section describes each of the special settings that may be
  2342.         defined when customising the editor.  These are entered in a custom
  2343.         definition file using entries of the form:
  2344.  
  2345.              SET item = value
  2346.  
  2347.  
  2348.  
  2349.         3.1 AUTOMATIC INDENT
  2350.  
  2351.              SET AUTOMATIC INDENT = ON
  2352.          or  SET AUTOMATIC INDENT = OFF
  2353.  
  2354.         This defines what the cursor will do when a new line is inserted.
  2355.         If it is set ON the cursor will be automatically indented so it
  2356.         aligns under the first non-blank character of the preceding line.
  2357.         If it is set OFF the cursor will always move the the left hand
  2358.         edge.
  2359.  
  2360.         The action of word-spill and the functions SPLIT LINE and ADJUST
  2361.         LINE are also affected by this setting.
  2362.  
  2363.  
  2364.         3.2 CGA SNOW
  2365.  
  2366.              SET CGA SNOW = AUTOMATIC
  2367.          or  SET CGA SNOW = ON
  2368.          or  SET CGA SNOW = OFF
  2369.  
  2370.         The old CGA card for the PC can produce "snow" on the display if
  2371.         the display is updated at the wrong times.  This can be eliminated
  2372.         but at the expense of slowing down scrolling speed.  When set to
  2373.         AUTOMATIC T will look for the presence of the old CGA card and if
  2374.         it finds one it will ensure the snow does not occur.
  2375.  
  2376.         The test to detect the CGA may give incorrect results on some
  2377.         machines (possibly on PCJrs or 3270PCs) and may be unnecessary on
  2378.         some clone machines so the function can be explicitly set ON or
  2379.         OFF.
  2380.  
  2381.         This setting is irrelevant for all more recent display cards (EGAs,
  2382.         VGAs, etc.) since these do not suffer from the "snow" problem.
  2383.  
  2384.  
  2385.         3.3 COMMAND RECALL
  2386.  
  2387.              SET COMMAND RECALL = number
  2388.  
  2389.         This specifies how many previous command line commands will be kept
  2390.         available for recall by the cursor up and cursor down keys.  Any
  2391.         number up to 255 may be kept; specifying zero disables the command
  2392.         recall feature.
  2393.  
  2394.  
  2395.         
  2396.                                                                Settings  33
  2397.  
  2398.         (C) Copyright IBM Corporation 1987, 1992
  2399.         
  2400.         
  2401.         
  2402.         For example:
  2403.  
  2404.              SET COMMAND RECALL = 10
  2405.  
  2406.  
  2407.  
  2408.         3.4 COMMAND TOGGLE
  2409.  
  2410.              SET COMMAND TOGGLE = DATA
  2411.          or  SET COMMAND TOGGLE = COMMAND
  2412.  
  2413.         This determines whether, when a new document is loaded, the cursor
  2414.         starts in the data area or on the command line.
  2415.  
  2416.  
  2417.         3.5 EXACT MATCH
  2418.  
  2419.              SET EXACT MATCH = ON
  2420.          or  SET EXACT MATCH = OFF
  2421.  
  2422.         This determines whether, by default, LOCATE commands take account
  2423.         of upper and lower case during searching.  If set ON the search
  2424.         must match exactly, if set OFF upper and lower case are considered
  2425.         identical.  The default can always be overridden with the locate
  2426.         command options "e" or "c".
  2427.  
  2428.         Note: Exact case match searches are very much faster and would be
  2429.         preferable when searching large documents.
  2430.  
  2431.  
  2432.         3.6 FINAL EOF
  2433.  
  2434.              SET FINAL EOF = ON
  2435.          or  SET FINAL EOF = OFF
  2436.  
  2437.         If set ON all files written to disk are terminated with a
  2438.         hexadecimal 1A end-of-file character.  If set OFF this character is
  2439.         not written.
  2440.  
  2441.  
  2442.         3.7 HELP COMMAND
  2443.  
  2444.              SET HELP COMMAND = command
  2445.  
  2446.         The "command" should be a enclosed in single or double quotes.  It
  2447.         is the T command that will be executed when the HELPkeyboard
  2448.         function is pressed.  Any valid T command can given.
  2449.  
  2450.         For example:
  2451.  
  2452.              SET HELP COMMAND = "T THELP.HLP"
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.         
  2459.                                                                Settings  34
  2460.  
  2461.         (C) Copyright IBM Corporation 1987, 1992
  2462.         
  2463.         
  2464.         
  2465.         3.8 HELP LINE
  2466.  
  2467.              SET HELP LINE = text
  2468.  
  2469.         The "text" should be enclosed in single or double quotes.  It is
  2470.         the text that will be displayed on the bottom line of the screen
  2471.         when there are no messages.
  2472.  
  2473.         For example:
  2474.  
  2475.              SET HELP LINE = "F1=Help F2=Save F3=Quit"
  2476.  
  2477.  
  2478.  
  2479.         3.9 INSERT TOGGLE
  2480.  
  2481.              SET INSERT TOGGLE = REPLACE
  2482.          or  SET INSERT TOGGLE = INSERT
  2483.  
  2484.         This determines whether T initially starts up in "insert" or
  2485.         "replace" mode.
  2486.  
  2487.  
  2488.         3.10 KEYBOARD
  2489.  
  2490.              SET KEYBOARD = AUTOMATIC
  2491.          or  SET KEYBOARD = STANDARD
  2492.  
  2493.         If set to AUTOMATIC T will test if an Enhanced Keyboard (with 12
  2494.         F-keys) is installed and if it finds one it will automatically make
  2495.         use of it.
  2496.  
  2497.         If set to STANDARD T will assume the keyboard is an old style
  2498.         keyboard (with 10 F-keys).  This provides compatibility with some
  2499.         clone BIOSs and with some older TSR programs, but loses the ability
  2500.         to use the newer keys like F11 and F12.  See "4.3 The Enhanced
  2501.         Keyboard" on page 17 for more details.
  2502.  
  2503.  
  2504.         3.11 MARGIN
  2505.  
  2506.              SET MARGIN = column
  2507.          or  SET MARGIN = OFF
  2508.  
  2509.         This sets an initial right hand margin column.  See "3.3 Word
  2510.         Processing" on page 9 for details about the function of the margin.
  2511.  
  2512.  
  2513.         3.12 TAB EXPAND
  2514.  
  2515.              SET TAB EXPAND = ON
  2516.          or  SET TAB EXPAND = OFF
  2517.  
  2518.         This setting determines how T will treat tab characters in
  2519.         documents that are read from disk.  If set ON tabs will be expanded
  2520.  
  2521.         
  2522.                                                                Settings  35
  2523.  
  2524.         (C) Copyright IBM Corporation 1987, 1992
  2525.         
  2526.         
  2527.         
  2528.         with spaces up to the next tab stop (as determined by the TAB
  2529.         SPACING setting).  If set OFF tabs are treated just like any other
  2530.         character.
  2531.  
  2532.         Note: If set ON the tabs are expanded to spaces as the document is
  2533.         loaded from disk and are then discarded.  If the document is saved
  2534.         it will not contain the original tab characters.
  2535.  
  2536.  
  2537.         3.13 TAB SPACING
  2538.  
  2539.              SET TAB SPACING = number
  2540.  
  2541.         Tabs are equally spaced across the document starting from column 1.
  2542.         The spacing is set with this option.
  2543.  
  2544.         For example:
  2545.  
  2546.              SET TAB SPACING = 8
  2547.  
  2548.  
  2549.  
  2550.         3.14 USER COMMAND
  2551.  
  2552.              SET USER COMMAND = command
  2553.  
  2554.         The "command" should be enclosed in single or double quotes.  It is
  2555.         the T command that will be executed when the USERkeyboard function
  2556.         is pressed.  Any valid T command can given.
  2557.  
  2558.         For example:
  2559.  
  2560.              SET USER COMMAND = "DOS"
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.         
  2585.                                                                Settings  36
  2586.  
  2587.         (C) Copyright IBM Corporation 1987, 1992
  2588.         
  2589.         
  2590.         
  2591.         APPENDIX A.  MESSAGES
  2592.  
  2593.         This section provides a list of all the messages that T produces.
  2594.         It gives the reasons for each message and the action that should be
  2595.         taken.
  2596.  
  2597.         Except where noted these messages will all be displayed in the
  2598.         editor's message line and will be removed at the next keystroke.
  2599.  
  2600.         Cannot open file
  2601.  
  2602.         T is unable to open the requested disk file.  Normally this means
  2603.         that the filename is invalid for some reason, perhaps it contains
  2604.         characters not valid in a file name, or perhaps it conflicts with
  2605.         the name of a device or directory already on the disk.
  2606.  
  2607.         On a diskette system it may also indicate that the diskette drive
  2608.         is not ready, perhaps it does not contain a diskette or the drive
  2609.         door is open.
  2610.  
  2611.         Cannot invoke DOS
  2612.  
  2613.         The DOS command was unable to start up a secondary DOS or OS/2
  2614.         command processor.  Normally this indicates that there is not
  2615.         enough free memory, you will have to remove some documents from the
  2616.         ring if you want to issue the DOS command.
  2617.  
  2618.         If you believe there is enough free memory and the problem still
  2619.         exists it may be that DOS cannot locate the command processor.
  2620.         From the DOS prompt issue the command SET; you should see a series
  2621.         of lines one of which is of this form indicating where your copy of
  2622.         COMMAND.COM is located:
  2623.  
  2624.              COMSPEC=d:\path\COMMAND.COM
  2625.  
  2626.         If this is not present you may need to add a SET
  2627.         COMSPEC=xxxxxx line to your AUTOEXEC.BAT file.
  2628.  
  2629.         Disk error - file NOT saved
  2630.  
  2631.         An error occurred while a document was being written to disk.
  2632.         Normally this means the disk became full while the file was being
  2633.         written.  You should save the file to another disk, one that has
  2634.         enough free space.
  2635.  
  2636.         Error reading file
  2637.  
  2638.         An error occurred while a document was being read from disk.  This
  2639.         is rare error and might indicate there are problems with the disk.
  2640.  
  2641.         File not found
  2642.  
  2643.         You attempted to GET a file that does not exist.  Check the
  2644.         spelling of the filename, maybe the file you want is not in the
  2645.         current directory and so needs a drive and/or directory path
  2646.  
  2647.         
  2648.                                                   Appendix A.  Messages  37
  2649.  
  2650.         (C) Copyright IBM Corporation 1987, 1992
  2651.         
  2652.         
  2653.         
  2654.         pre-pended to it.
  2655.  
  2656.         Line(s) split
  2657.  
  2658.         The file you attempted to load has lines longer than 255
  2659.         characters.  T cannot handle lines longer than 255 characters and
  2660.         so has to split them.  Normally this indicates you have attempted
  2661.         to edit a file that is not a text file, perhaps it is a program or
  2662.         data file in some internal format.  Files of this sort should not
  2663.         be edited with T - you should QUIT straight away, without saving.
  2664.  
  2665.         Loading...
  2666.  
  2667.         Displays while a document is being loaded from disk.
  2668.  
  2669.         Mark already set
  2670.  
  2671.         You tried to mark a line, but a mark already exists in another
  2672.         document in the ring, only one document at a time may contain a
  2673.         mark.  If you no longer require the other mark first press the
  2674.         CLEAR MARK function.
  2675.  
  2676.         New file
  2677.  
  2678.         You asked to edit a document that does not exist on disk.  T has
  2679.         created a new empty document.
  2680.  
  2681.         No filename given
  2682.  
  2683.         The commands GET, PUT and APPEND must have a filename parameter
  2684.         specified.
  2685.  
  2686.         No marked block
  2687.  
  2688.         The commands PUT and APPEND work on the currently marked lines.
  2689.         Some lines must be marked if the command is used.
  2690.  
  2691.         No match found
  2692.  
  2693.         The "target" specified in a LOCATE or CHANGE command cannot be
  2694.         found.  Remember that these commands only search from the current
  2695.         position forwards to the end of the document.  To search from the
  2696.         top first press the TOP OF FILE function.
  2697.  
  2698.         No room to join
  2699.  
  2700.         A JOIN function cannot work if the resulting line would be longer
  2701.         than 255 characters.  This message can also occur when using the
  2702.         ADJUST LINEfunction, which internally makes a call to JOIN.
  2703.  
  2704.         Not enough memory for T
  2705.  
  2706.         This message is printed by DOS if, when T is first loaded, there is
  2707.         not enough free memory get it started.  This can happen if you have
  2708.         a lot of TSR type programs loaded or if you are nested inside
  2709.  
  2710.         
  2711.                                                   Appendix A.  Messages  38
  2712.  
  2713.         (C) Copyright IBM Corporation 1987, 1992
  2714.         
  2715.         
  2716.         
  2717.         several other applications.
  2718.  
  2719.         Out of memory
  2720.  
  2721.         T has run out of memory, you should save one or more of the
  2722.         documents in the ring to make space before continuing.  Most
  2723.         T commands and functions have no effect while the "Out of
  2724.         memory" condition exists.
  2725.  
  2726.         Press any key to continue
  2727.  
  2728.         This message is printed by the secondary DOS or OS/2 command shell
  2729.         started by the DOS command.  It is produced just before the command
  2730.         shell returns to T, and allows you some time to read whatever
  2731.         output is on the screen.
  2732.  
  2733.         Printer not ready
  2734.  
  2735.         The PRINT command could not complete correctly.  This may mean the
  2736.         printer is not turned on or set online, or it is not connected, or
  2737.         that it has run out of paper.  Or any number of other reasons that
  2738.         cause printers to fail.
  2739.  
  2740.         Printing...
  2741.  
  2742.         Displays while a document is being printed.
  2743.  
  2744.         Saving...
  2745.  
  2746.         Displays while a document is being saved.
  2747.  
  2748.         Source & destination conflict
  2749.  
  2750.         You cannot move or copy marked lines on top of themselves.  Move
  2751.         the cursor out of the marked area any try again.
  2752.  
  2753.         T needs DOS v2.00 or later
  2754.  
  2755.         This message is printed by DOS versions below 2.00 if an attempt is
  2756.         made to run T, which requires at least DOS 2.00.
  2757.  
  2758.         Throw away changes? (y/n)
  2759.  
  2760.         You tried to QUIT a document that has been changed since it was
  2761.         last saved.  This message gives you a chance to save changes if the
  2762.         QUIT was selected accidentally.
  2763.  
  2764.         Type a character...
  2765.  
  2766.         The ESCAPE function takes the next character entered on the
  2767.         keyboard as an absolute ASCII code and enters it into the document.
  2768.         While ESCAPE is waiting for this character it displays a message.
  2769.  
  2770.         Unknown command
  2771.  
  2772.  
  2773.         
  2774.                                                   Appendix A.  Messages  39
  2775.  
  2776.         (C) Copyright IBM Corporation 1987, 1992
  2777.         
  2778.         
  2779.         
  2780.         You entered a command on the command line that is not a T command.
  2781.         Check the spelling of the command, or precede it by the word DOS
  2782.         (or a full stop) if it is a DOS or OS/2 command rather than a
  2783.         T command.
  2784.  
  2785.         This message is also produced by the GOTO and MARGIN commands if
  2786.         the parameter specified is not numeric.
  2787.  
  2788.         Yes/No/Go/Last/Quit?
  2789.  
  2790.         The CHANGE command issues this message when it finds its
  2791.         "target" text.  Refer to "1.2 CHANGE" on page 19 for details of the
  2792.         CHANGE command.
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.         
  2837.                                                   Appendix A.  Messages  40
  2838.  
  2839.         (C) Copyright IBM Corporation 1987, 1992
  2840.         
  2841.         
  2842.         
  2843.         APPENDIX B.  USER DEFINABLE KEYS
  2844.  
  2845.         This section lists all the valid names and combinations of the user
  2846.         definable keys that can be entered in a custom definition file.
  2847.  
  2848.         Keys marked with an asterisk (*) are only available with the
  2849.         Enhanced Keyboard.
  2850.  
  2851.         -------------------------------------------------------------------
  2852.           Table 1. Unshifted Keys
  2853.           Esc           Enter        Tab          Backspace              
  2854.           F1            F2           F3           F4           F5        
  2855.           F6            F7           F8           F9           F10       
  2856.           F11(*)        F12(*)                                           
  2857.           Home          End          PgUp         PgDn                   
  2858.           Left          Right        Up           Down                   
  2859.           Ins           Del          Pad5(*)                             
  2860.                                                                          
  2861.         -------------------------------------------------------------------
  2862.  
  2863.         -------------------------------------------------------------------
  2864.           Table 2. Shift Keys
  2865.           s-Tab                                                          
  2866.           s-F1          s-F2         s-F3         s-F4         s-F5      
  2867.           s-F6          s-F7         s-F8         s-F9         s-F10     
  2868.           s-F11(*)      s-F12(*)                                         
  2869.                                                                          
  2870.         -------------------------------------------------------------------
  2871.  
  2872.         -------------------------------------------------------------------
  2873.           Table 3. Ctrl Keys
  2874.           c-Enter       c-Tab(*)     c-Backspace                          
  2875.           c-a           c-b          c-c          c-d          c-e       
  2876.           c-f           c-g          c-h          c-i          c-j       
  2877.           c-k           c-l          c-m          c-n          c-o       
  2878.           c-p           c-q          c-r          c-s          c-t       
  2879.           c-u           c-v          c-w          c-x          c-y       
  2880.           c-z                                                            
  2881.           c-2           c-6                                              
  2882.           c-F1          c-F2         c-F3         c-F4         c-F5      
  2883.           c-F6          c-F7         c-F8         c-F9         c-F10     
  2884.           c-F11(*)      c-F12(*)                                         
  2885.           c-Home        c-End        c-PgUp       c-PgDn                 
  2886.           c-Left        c-Right      c-Up(*)      c-Down(*)              
  2887.           c-Ins(*)      c-Del(*)     c-Pad5(*)                           
  2888.           c--           c-[          c-]          c-\                    
  2889.                                                                          
  2890.         -------------------------------------------------------------------
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.         
  2900.                                        Appendix B.  User Definable Keys  41
  2901.  
  2902.         (C) Copyright IBM Corporation 1987, 1992
  2903.         
  2904.         
  2905.         
  2906.         -------------------------------------------------------------------
  2907.           Table 4. Alt Keys
  2908.           a-Enter(*)    a-Tab(*)     a-Backspace(*)                          
  2909.           a-a           a-b          a-c          a-d          a-e       
  2910.           a-f           a-g          a-h          a-i          a-j       
  2911.           a-k           a-l          a-m          a-n          a-o       
  2912.           a-p           a-q          a-r          a-s          a-t       
  2913.           a-u           a-v          a-w          a-x          a-y       
  2914.           a-z                                                            
  2915.           a-1           a-2          a-3          a-4          a-5       
  2916.           a-6           a-7          a-8          a-9          a-0       
  2917.           a-F1          a-F2         a-F3         a-F4         a-F5      
  2918.           a-F6          a-F7         a-F8         a-F9         a-F10     
  2919.           a-F11(*)      a-F12(*)                                         
  2920.           a-Home(*)     a-End(*)     a-PgUp(*)    a-PgDn(*)              
  2921.           a-Left(*)     a-Right(*)   a-Up(*)      a-Down(*)              
  2922.           a-Ins(*)      a-Del(*)                                         
  2923.           a--           a-=                                              
  2924.                                                                          
  2925.         -------------------------------------------------------------------
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.         
  2963.                                        Appendix B.  User Definable Keys  42
  2964.  
  2965.         ===================================================================
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.         ===================================================================
  2982.  
  2983.         (C) Copyright IBM Corporation 1987, 1992
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.                                                         Printed in the U.K.